package com.ruoyi.projects.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预约排期对象 sl_apoint_form
 * 
 * @author yangz
 * @date 2024-10-27
 */
@Data
public class SlApointForm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预约id */
    private Long apointId;

    /** 客户id */
    @Excel(name = "客户id")
    private Long customId;

    /** 预约项目ids */
    @Excel(name = "预约项目ids")
    private String productId;

    /** 预约日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date apointTime;

    /** 开始时间 */
    @Excel(name = "开始时间")
    @JsonFormat(pattern = "HH:mm")
    private Date startHour;

    /** 结束时间 */
    @Excel(name = "结束时间")
    @JsonFormat(pattern = "HH:mm")
    private Date endHour;

    /*操作次数**/
    private Integer times;

    /** 预约状态（1：待核销，2：已完成，3：已取消） */
    @Excel(name = "预约状态", readConverterExp = "1=待核销，2=已完成，3=已取消")
    private Integer ifOrder;

    /** 预约类型（1：美团，2：抖音，3：小红书，4：小蓝，5：会员卡，6：其他）*/
    private Integer apointType;
    /*客户类型(1:店内用户，2：会员，3：新用户)*/
    private Integer customType;
    @JsonIgnore
    private List<String> productIds;

    private String phone;

    private String nickname;

    private String productNames;

}
